#include "types/common.h"
#include "types/record.h"

#ifndef _record_mgr_h_
#define _record_mgr_h_

struct RecCondition
{
	UINT32 column;
	UINT32 value;
};

class RecordManager
{
public:
	RecordId create_record();
	void delete_record(RecordId id);
	void write_record(RecordId id);
	void create_record(RecordId id, RecordData data);
	vector<Record> read_records();
	vector<Record> read_records(RecCondition cond);
	
	void create_table(string &tbl_name);
	void drop_table(string &tbl_name);
};

#endif
